package com.raymond.bean;

import lombok.Data;

import java.io.Serializable;

/**
 * java类作用描述
 *
 * @author :  raymond
 * @version :  1.0
 * @date :  2019/7/18
 */
@Data
public class Message implements Serializable {

    /**
     * 消息内容
     */
    private String message;
    /**
     * 手机号
     */
    private String phone;

    public Message(String phone, String message) {
        this.phone = phone;
        this.message = message;
    }

    public Message() {
    }

    @Override
    public String toString() {
        return "Message{" +
                "message='" + message + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
